package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Commodity;
import cn.wolfcode.trip.base.query.CommodityQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommodityService {
    PageInfo<Commodity> query(CommodityQueryObject qo);

    void saveOrUpdate(Commodity commodity);

    Commodity getOne(Long id);

    List<Commodity> types();
}
